home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMPPPPIIII____AAAADDDDDDDDRRRREEEESSSSSSSS((((3333)))) MMMMPPPPIIII____AAAADDDDDDDDRRRREEEESSSSSSSS((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- MMMMPPPPIIII____AAAAddddddddrrrreeeessssssss - Gets the address of a location in memory
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- C:
-
- #include <mpi.h>
-
- int MPI_Address( _l_o_c_a_t_i_o_n, _a_d_d_r_e_s_s)
- void *_l_o_c_a_t_i_o_n;
- MPI_Aint *_a_d_d_r_e_s_s;
-
-
- C++:
-
- #include <mpi.h>
-
- Aint Get_address(
- void* _l_o_c_a_t_i_o_n)
-
-
- Fortran:
-
- INCLUDE "mpif.h" (or USE MPI)
-
- <type> LOCATION(*)
- INTEGER _a_d_d_r_e_s_s, _i_e_r_r_o_r
-
- CALL MPI_ADDRESS(_l_o_c_a_t_i_o_n, _a_d_d_r_e_s_s, _i_e_r_r_o_r)
-
-
- SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
- This release implements the MPI 1.2 standard, as documented by the MPI
- Forum in the spring 1997 release of _M_P_I: _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
- _S_t_a_n_d_a_r_d.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The MMMMPPPPIIII____AAAAddddddddrrrreeeessssssss routine gets the address of a location in memory. This
- routine is provided for both Fortran and C programmers. On many systems,
- the address returned by this routine will be the same as produced by the
- C &&&& operator, but this is not required in C and might not be true of
- systems with word- rather than byte-oriented instructions or systems with
- segmented address spaces. This routine accepts the following parameters:
-
- _l_o_c_a_t_i_o_n Specifies the location in caller memory (choice)
-
- _a_d_d_r_e_s_s Returns the address of the location (integer)
-
- _i_e_r_r_o_r Specifies the return code value for successful completion,
- which is in MPI_SUCCESS. MPI_SUCCESS is defined in the mmmmppppiiiiffff....hhhh
- file.
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-